# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class QualityResultDetail(object):

    def __init__(self, metaInfo=None, aestheticsRate=None, sharpnessRate=None, boarderInfo=None, backgroundInfo=None):
        """
        :param metaInfo: (Optional) 图片基本信息
        :param aestheticsRate: (Optional) 美观度分数，0-1，分数越高美观度越高，建议0.5分以上可认为美观度较好，0.3分以下可认为美观度较差，具体视业务场景而定
        :param sharpnessRate: (Optional) 清晰度分数，0-1，分数越高清晰度越高，建议0.5分以上可认为清晰度较好，0.3分以下可认为清晰度较差，具体视业务场景而定
        :param boarderInfo: (Optional) 图片边框信息
        :param backgroundInfo: (Optional) 图片边框信息
        """

        self.metaInfo = metaInfo
        self.aestheticsRate = aestheticsRate
        self.sharpnessRate = sharpnessRate
        self.boarderInfo = boarderInfo
        self.backgroundInfo = backgroundInfo
